projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
938c647
)
(tar-mode): Locally set file-precious-flag.
author
Richard M. Stallman
<rms@gnu.org>
Sat, 17 Oct 1998 19:22:41 +0000
(19:22 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Sat, 17 Oct 1998 19:22:41 +0000
(19:22 +0000)
lisp/tar-mode.el
patch
|
blob
|
history
diff --git
a/lisp/tar-mode.el
b/lisp/tar-mode.el
index 33d01f8a3a59aa8c7c00e4dec09512eafce04404..b96f66c79c4581dc5dc11fb77e428b951153763c 100644
(file)
--- a/
lisp/tar-mode.el
+++ b/
lisp/tar-mode.el
@@
-601,6
+601,9
@@
See also: variables `tar-update-datestamp' and `tar-anal-blocksize'.
(setq local-enable-local-variables nil)
(make-local-variable 'next-line-add-newlines)
(setq next-line-add-newlines nil)
+ ;; Prevent loss of data when saving the file.
+ (make-local-variable 'file-precious-flag)
+ (setq file-precious-flag t)
(setq major-mode 'tar-mode)
(setq mode-name "Tar")
(use-local-map tar-mode-map)